package com.shuyixiao.javan8nv1.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

@TableName("connections")
public class Connection {
    @TableId
    private String id;
    @TableField("workflow_id")
    private String workflowId;
    @TableField
    private String sourceNodeName;
    @TableField
    private String targetNodeName;
    @TableField
    private String sourceOutput;
    @TableField
    private String targetInput;
    @TableField
    private Integer sourceIndex;
    @TableField
    private Integer targetIndex;

    public String getId() { return id; }
    public void setId(String id) { this.id = id; }
    public String getWorkflowId() { return workflowId; }
    public void setWorkflowId(String workflowId) { this.workflowId = workflowId; }
    public String getSourceNodeName() { return sourceNodeName; }
    public void setSourceNodeName(String sourceNodeName) { this.sourceNodeName = sourceNodeName; }
    public String getTargetNodeName() { return targetNodeName; }
    public void setTargetNodeName(String targetNodeName) { this.targetNodeName = targetNodeName; }
    public String getSourceOutput() { return sourceOutput; }
    public void setSourceOutput(String sourceOutput) { this.sourceOutput = sourceOutput; }
    public String getTargetInput() { return targetInput; }
    public void setTargetInput(String targetInput) { this.targetInput = targetInput; }
    public Integer getSourceIndex() { return sourceIndex; }
    public void setSourceIndex(Integer sourceIndex) { this.sourceIndex = sourceIndex; }
    public Integer getTargetIndex() { return targetIndex; }
    public void setTargetIndex(Integer targetIndex) { this.targetIndex = targetIndex; }
}
